<?php
/***************************************************************************
*                                header.php
 *
 *   Begin date           	: 
 *   Copyright            	: 
 *   Email                	: 
 ***************************************************************************/
defined('PHP5_PHP') or die("Application is stopping!!!");
$tpl = sprintf($php5TemplateAdminFile, $language, 'main', 'menu.tpl');
$smarty->setCompileDir(sprintf($php5RootAdminTempalteCPath, 'main'));
if(!is_file($tpl )) {
	die("can not find template");
}
//echo sefBuild($php5WebPath, 'index.php?o=settings', 0);
$smarty->assign('url_setting', sefBuild($php5WebPath, 'index.php?o=settings', 0));
$smarty->assign('url_logout', sefBuild($php5WebPath, 'index.php?o=logout', 0));
$smarty->assign('url_user', sefBuild($php5WebPath, 'index.php?o=users', 0));
$smarty->assign('url_smtp', sefBuild($php5WebPath, 'index.php?o=settings&m=smtp', 0));
$smarty->assign('url_user_group', sefBuild($php5WebPath, 'index.php?o=user_group', 0));
$smarty->assign('url_newsletter', sefBuild($php5WebPath, 'index.php?o=newsletters', 0));
$smarty->assign('url_newsletter_history', sefBuild($php5WebPath, 'index.php?o=newsletters&m=history', 0));
$smarty->assign('url_export_newsletter', sefBuild($php5WebPath, 'index.php?o=export_newsletter_users', 0));
$smarty->assign('url_import_newsletter', sefBuild($php5WebPath, 'index.php?o=import_newsletter_users', 0));
$smarty->assign('url_report_category', sefBuild($php5WebPath, 'index.php?o=adwords&m=category', 0));
$smarty->assign('url_testimonial', sefBuild($php5WebPath, 'index.php?o=testimonials', 0));
$smarty->assign('menu', $smarty->fetch($tpl));
